package com.acxiom.foodreview.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.acxiom.foodreview.entity.Examples;

/**
 * Created by hadong on 2017-03-23.
 */
public interface ExamplesMapper {

	Examples findById(Integer id);

	int insert(Examples record);

	List<Examples> findAsPage(@Param("offset") int offset, @Param("size") int size);
	
	int update(Examples record);
	
	int delete(Integer id);

	int getCount();
}
